<?php

// Namespace

namespace Loop;


/**
 * CNotification is a class that can be used to record notification sent
 *
 * @package		Loop
 * @category	Model
 */

class CNotification extends \Loop\CObject
{

	/**
	 *
	 */
	
	protected function createProperties()
	{
		$this->createProperty
		(
			'extensionId',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'key',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'notificationName',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'notificationTarget',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'notificationType',
			array
			(
				'type' => TYPE_STRING_SHORT
			)
		);

		$this->createProperty
		(
			'notificationVariables',
			array
			(
				'type' => TYPE_TEXT
			)
		);

		$this->createProperty
		(
			'recipientName',
			array
			(
				'type' => TYPE_STRING_LONG
			)
		);

		$this->createProperty
		(
			'isUnique',
			array
			(
				'type' => TYPE_BOOLEAN
			)
		);

		$this->createProperty
		(
			'timeOfExpedition',
			array
			(
				'type' => TYPE_TIMESTAMP
			)
		);
	}
}

?>
